<span>
    <script>
        $(document).ready(function () {
            $('.jui-datepicker').datepicker({
                dateFormat: 'yy-mm-dd'
            });
        });
    </script>
    <strong>{$label}</strong>
    <input type="text" class="jui-datepicker text input-small date-from" name="date_from" value="{$from}"> -
    <input type="text" class="jui-datepicker text input-small date-to" name="date_to" value="{$to}">
</span>